From 313c33cb9029583923b36e724e5245682f0d4594 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 10 Mar 2004 19:11:59 +0000 Subject: [PATCH] don't propagate the expose to the label. The expose handler for 2004-03-10 Mark McLoughlin * gtk/gtkexpander.c: (gtk_expander_expose): don't propagate the expose to the label. The expose handler for GtkContainer already does that. Fixes bug #136719. Reported by Dennis Cranston, exact cause nailed down by Owen. --- ChangeLog | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-4 | 7 +++++++ ChangeLog.pre-2-6 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ gtk/gtkexpander.c | 5 ----- 6 files changed, 35 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index ef3b6db318..0d9a8a50ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-03-10 Mark McLoughlin + + * gtk/gtkexpander.c: (gtk_expander_expose): don't propagate + the expose to the label. The expose handler for GtkContainer + already does that. Fixes bug #136719. Reported by Dennis + Cranston, exact cause nailed down by Owen. + 2004-03-10 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ef3b6db318..0d9a8a50ef 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2004-03-10 Mark McLoughlin + + * gtk/gtkexpander.c: (gtk_expander_expose): don't propagate + the expose to the label. The expose handler for GtkContainer + already does that. Fixes bug #136719. Reported by Dennis + Cranston, exact cause nailed down by Owen. + 2004-03-10 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index ef3b6db318..0d9a8a50ef 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +2004-03-10 Mark McLoughlin + + * gtk/gtkexpander.c: (gtk_expander_expose): don't propagate + the expose to the label. The expose handler for GtkContainer + already does that. Fixes bug #136719. Reported by Dennis + Cranston, exact cause nailed down by Owen. + 2004-03-10 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index ef3b6db318..0d9a8a50ef 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2004-03-10 Mark McLoughlin + + * gtk/gtkexpander.c: (gtk_expander_expose): don't propagate + the expose to the label. The expose handler for GtkContainer + already does that. Fixes bug #136719. Reported by Dennis + Cranston, exact cause nailed down by Owen. + 2004-03-10 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ef3b6db318..0d9a8a50ef 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2004-03-10 Mark McLoughlin + + * gtk/gtkexpander.c: (gtk_expander_expose): don't propagate + the expose to the label. The expose handler for GtkContainer + already does that. Fixes bug #136719. Reported by Dennis + Cranston, exact cause nailed down by Owen. + 2004-03-10 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index 4dfa1ba86e..01a8c8a3b6 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -848,11 +848,6 @@ gtk_expander_expose (GtkWidget *widget, if (GTK_WIDGET_HAS_FOCUS (expander)) gtk_expander_paint_focus (expander, &event->area); - if (expander->priv->label_widget) - gtk_container_propagate_expose (GTK_CONTAINER (widget), - expander->priv->label_widget, - event); - GTK_WIDGET_CLASS (parent_class)->expose_event (widget, event); } -- 2.30.2